<?php

session_start();

require_once($_SERVER['DOCUMENT_ROOT'].'/mpd/config/config.php');
require_once($_SERVER['DOCUMENT_ROOT'].'/mpd/model/spm/kerja.php');

$kerja_model = new kerja_model();

$_SESSION['NIP'] = $nip;
$_SESSION['ID_ROLE'] = $id_role;

$kerja_res = $produk_model->get_kerja_data($nip);
if(mysql_num_rows($kerja_res) > 0){
	$prod_arr = array();
	while($row = mysql_fetch_array($kerja_res)){
				
		$temp = array(
			'nip' => $row['NIP'],
			'nip_atasan' => $row['BIO_NIP'],
			'nama' => $row['NAMA']
		);
		
		$prod_arr[] = $temp;
	}
}

include($_SERVER['DOCUMENT_ROOT'].'/mpd/view/spm/reviewpekerjaan.php');

?>